package com.c1202m.hibernate.entities;

import java.util.Date;

public class ChuyenKhoan implements java.io.Serializable {

    private int maCK;
    private Date ngayCK;
    private String soTKGui;
    private String soTKNhan;
    private double soTienCK;
    private TaiKhoan taiKhoanGui;
    private TaiKhoan taiKhoanNhan;

    public ChuyenKhoan() {
    }

    public ChuyenKhoan(int maCK, Date ngayCK, String soTKGui, String soTKNhan, double soTienCK, TaiKhoan taiKhoanGui, TaiKhoan taiKhoanNhan) {
        this.maCK = maCK;
        this.ngayCK = ngayCK;
        this.soTKGui = soTKGui;
        this.soTKNhan = soTKNhan;
        this.soTienCK = soTienCK;
        this.taiKhoanGui = taiKhoanGui;
        this.taiKhoanNhan = taiKhoanNhan;
    }

    public int getMaCK() {
        return maCK;
    }

    public void setMaCK(int maCK) {
        this.maCK = maCK;
    }

    public Date getNgayCK() {
        return ngayCK;
    }

    public void setNgayCK(Date ngayCK) {
        this.ngayCK = ngayCK;
    }

    public String getSoTKGui() {
        return soTKGui;
    }

    public void setSoTKGui(String soTKGui) {
        this.soTKGui = soTKGui;
    }

    public String getSoTKNhan() {
        return soTKNhan;
    }

    public void setSoTKNhan(String soTKNhan) {
        this.soTKNhan = soTKNhan;
    }

    public double getSoTienCK() {
        return soTienCK;
    }

    public void setSoTienCK(double soTienCK) {
        this.soTienCK = soTienCK;
    }

    public TaiKhoan getTaiKhoanGui() {
        return taiKhoanGui;
    }

    public void setTaiKhoanGui(TaiKhoan taiKhoanGui) {
        this.taiKhoanGui = taiKhoanGui;
    }

    public TaiKhoan getTaiKhoanNhan() {
        return taiKhoanNhan;
    }

    public void setTaiKhoanNhan(TaiKhoan taiKhoanNhan) {
        this.taiKhoanNhan = taiKhoanNhan;
    }
}
